package com.shamp.shop.basic.dao;

import java.util.List;

import org.springframework.data.repository.CrudRepository;

import com.shamp.shop.basic.model.User;

public interface UserDao extends CrudRepository<User, Long> {
	
	List<User> findByEmailLike(String email);
	User findByUserName(String username);
}
